/**
 * Copyright &copy; 2016-2017 <a href="https://www.lczyfz.com">联创智云</a> All rights reserved.
 */
package com.lczyfz.campusinfo.modules.jobmesmanage.entity;

import org.hibernate.validator.constraints.Length;

import com.lczyfz.campusinfo.common.persistence.DataEntity;

import java.util.Date;

/**
 * 就业关联表Entity
 * @author zms
 * @version 2018-03-26
 */
public class JobLink extends DataEntity<JobLink> {
	
	private static final long serialVersionUID = 1L;
	private String linkid; //报名id
	private String stuId;		// 学生id
	private String linkJob;// 就业id
	private String username; //名称
	private String jobName;//j需求名称
	private String enrollStatus; //报名状态
	public String getEnrollStatus() {
		return enrollStatus;
	}

	public void setEnrollStatus(String enrollStatus) {
		this.enrollStatus = enrollStatus;
	}

	public String getLinkid() {
		return linkid;
	}

	public void setLinkid(String linkid) {
		this.linkid = linkid;
	}
	public Date getBeginCreateDate() {
		return beginCreateDate;
	}

	public void setBeginCreateDate(Date beginCreateDate) {
		this.beginCreateDate = beginCreateDate;
	}

	private Date beginCreateDate;		// 开始 创建日期

	public Date getEndCreateDate() {
		return endCreateDate;
	}

	public void setEndCreateDate(Date endCreateDate) {
		this.endCreateDate = endCreateDate;
	}

	private Date endCreateDate;		// 结束 创建日期


	public Date getBeginUpdateDate() {
		return beginUpdateDate;
	}

	public void setBeginUpdateDate(Date beginUpdateDate) {
		this.beginUpdateDate = beginUpdateDate;
	}

	private Date beginUpdateDate;		// 开始 更新日期

	public Date getEndUpdateDate() {
		return endUpdateDate;
	}

	public void setEndUpdateDate(Date endUpdateDate) {
		this.endUpdateDate = endUpdateDate;
	}

	private Date endUpdateDate;		// 结束 更新日期
	public JobLink() {
		super();
	}

	public JobLink(String id){
		super(id);
	}

	@Length(min=1, max=65, message="学生id长度必须介于 1 和 65 之间")
	public String getStuId() {
		return stuId;
	}

	public void setStuId(String stuId) {
		this.stuId = stuId;
	}
	
	@Length(min=1, max=11, message="就业id长度必须介于 1 和 11 之间")
	public String getLinkJob() {
		return linkJob;
	}

	public void setLinkJob(String linkJob) {
		this.linkJob = linkJob;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}
	public String getJobName() {
		return jobName;
	}

	public void setJobName(String jobName) {
		this.jobName = jobName;
	}
}
